﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace DataBase.From {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "t_connector_sense", DisableSyncStructure = true)]
	public partial class TConnectorSense {

		[JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
		public long Id { get; set; }

		[JsonProperty, Column(Name = "aphaseJointTemp", DbType = "decimal(18,2)")]
		public decimal? AphaseJointTemp { get; set; }

		[JsonProperty, Column(Name = "aphaseSkinTemp", DbType = "decimal(18,2)")]
		public decimal? AphaseSkinTemp { get; set; }

		[JsonProperty, Column(Name = "bphaseJointTemp", DbType = "decimal(18,2)")]
		public decimal? BphaseJointTemp { get; set; }

		[JsonProperty, Column(Name = "bphaseSkinTemp", DbType = "decimal(18,2)")]
		public decimal? BphaseSkinTemp { get; set; }

		[JsonProperty, Column(Name = "cphaseJointTemp", DbType = "decimal(18,2)")]
		public decimal? CphaseJointTemp { get; set; }

		[JsonProperty, Column(Name = "cphaseSkinTemp", DbType = "decimal(18,2)")]
		public decimal? CphaseSkinTemp { get; set; }

		[JsonProperty]
		public DateTime? CreateTime { get; set; }

		[JsonProperty, Column(Name = "deviceId")]
		public long? DeviceId { get; set; }

		[JsonProperty, Column(Name = "displace", DbType = "decimal(18,2)")]
		public decimal? Displace { get; set; }

		[JsonProperty, Column(Name = "peAlarm")]
		public int? PeAlarm { get; set; }

		[JsonProperty, Column(Name = "smogAlarm")]
		public int? SmogAlarm { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string TerminalId { get; set; }

		[JsonProperty]
		public DateTime? Time { get; set; }

		[JsonProperty, Column(Name = "waterLevel")]
		public int? WaterLevel { get; set; }

	}

}
